#ifndef SCANTHREAD_H
#define SCANTHREAD_H

#include <QThread>

class ScanThread : public QThread
{
    Q_OBJECT
public:
    ScanThread();
//    ~ScanThread();
    ScanThread(QString ip, int ipCount, int port, int portCount);
    void run();
signals:
    void scanOver(QString info, bool opened);
private:
    QString ip;
    int ipCount;
    int port;
    int portCount;

};

#endif // SCANTHREAD_H
